package com.bigshark.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bigshark.api.form.LoginForm;
import com.bigshark.api.form.RegisterForm;
import com.bigshark.api.model.User;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface UserService extends IService<User> {
     Map<String,Object> login(LoginForm login, HttpServletRequest request);
     void register(RegisterForm registerForm);
}
